package com.pylc.model.dao;

import com.pylc.model.entity.StoreCategory;

import java.util.Set;

/**
 * @author Lindsey
 */
public interface StoreCategoryDao extends BaseDao<StoreCategory, Long> {
    public Set<StoreCategory> getRoot();

    public Set<StoreCategory> getChildren(StoreCategory storeCategory);

    public boolean isNameUnique(String name);
}
